package org.chw.cloud;

import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.context.annotation.ComponentScan;

/**
 * Hello world!
 *
 */
@SpringBootApplication
@EnableEurekaClient
@ComponentScan({"org.chw.rest","org.chw.config"})
public class ConsumerApp
{
    public static void main( String[] args )
    {
        new SpringApplicationBuilder(ConsumerApp.class).web(true).run();
    }
}
